package com.lmscn.lms.api.model;

import com.jfinal.plugin.activerecord.Model;

import java.util.List;

/**
 * Created by Czl on 2015/9/11.
 */
@SuppressWarnings("serial")
public class MyExam extends Model<MyExam> {

    public static final MyExam dao = new MyExam();

    public List<MyExam> findByStudentId(Long studentId ){
        return dao.find("select * from t_myexam_student where student_id = ? and status=1",studentId);
    }

}
